package edu.gatech.cs2340.OregonTrail;

/**
 * Provides a manager responsible for organizing and holding information about ration and pace level
 * @author Won Taek Chung
 * @version 1.0.1
 */
public class SettingManager {
	private eRation ration;
	private ePace pace;
	
	
	/**
	 * Default constructor for setting manager, initialize settings to medium
	 */
	public SettingManager()
	{
		this.setRation(eRation.medium);
		this.setPace(ePace.medium);

	}
	
	/**
	 * Overloaded constructor for setting manager
	 * @param ration Initial ration level to use
	 * @param pace Initial pace level to use
	 */
	public SettingManager(eRation ration, ePace pace)
	{
		this.setRation(ration);
		this.setPace(pace);

	}

	/**
	 * Getter for ration level
	 * @return eRation enum value representing current ration level
	 */
	public eRation getRations() {
		return ration;
	}

	/**
	 * Setter for ration level
	 * @param ration eRation enum value to use as new ration level
	 */
	public void setRation(eRation ration) {
		this.ration = ration;
	}

	/**
	 * Getter for pace level
	 * @return ePace enum value representing current pace level
	 */
	public ePace getPace() {
		return pace;
	}

	/**
	 * Setter for pave level
	 * @param pace ePace enum value to use as new pace level
	 */
	public void setPace(ePace pace) {
		this.pace = pace;
	}

}
